class SystemInfo {
  SystemInfo({
    this.operatingSystem,
    this.operatingSystemVersion,
    this.platformVersion,
    this.appVersion,
  });

  /// Converts to [Map<String, dynamic>] and works with [AppErrorReport].
  Map<String, dynamic> toJson() {
    return {
      'operatingSystem': operatingSystem,
      'operatingSystemVersion': operatingSystemVersion,
      'platformVersion': platformVersion,
      'appVersion': appVersion,
    };
  }

  final String? operatingSystem;
  final String? operatingSystemVersion;
  final String? platformVersion;
  final String? appVersion;
}
